/**
 * Observer.java is created by Zachariah at 2012-2-14 下午05:52:42
 */
package com.zack.designPattern.observer;

/**
 * @author zachariah zzcfrog@gmail.com
 *
 */
public class Observer implements IObserver {

	private String name;
	
	public Observer(String name){
		this.name  = name;
	}
	
	/**
	 * @see com.zack.designPattern.observer.IObserver#update()
	 */
	@Override
	public void update() {
		System.out.println(this.name+"  被通知啦");

	}

}
